package cn.itcast.blog.mapper;

import java.util.List;

import cn.itcast.blog.domain.Category;
/*
 * 分类表方法接口
 */
public interface CategoryMapper {
	
	List<Category> findByAll();
	
	void insertCategory(Category category);
	
	//更新
	void updateCategory(Category category);
	
	//删除分类
	void deleteCategory(Integer id);
	
}
